<div class="paginator-wrapper">
	<div class="paginator ui-widget ui-widget-content ui-corner-all">
		{% if show_previous %}
			<div class="first_page" >1</div>
			<div class="previous ui-icon ui-icon-arrowthick-1-w" style="margin-right: .3em;"></div>
		{% endif %}
		{% for page in pages %}
			{% ifequal current_page page %}
				<div class="ui-state-highlight ui-corner-all current_page" style="margin: .3em;">
					{{ page }}
				</div>
			{% else %}
				<div class="page"><a href="{{ base_url }}">{{ page }}</a></div>
			{% endifequal %}
		{% endfor %}
		{% if show_next %}
			<div class="next ui-icon ui-icon-arrowthick-1-e" style="margin-right: .3em;"></div>
			<div class="last_page" >{{ count_pages }}</div>
		{% endif %}
</div>